package com.atech.ebayadmin.merchandise.dao;

import java.util.List;
import java.util.Map;

import com.atech.ebayadmin.common.pager.Pager;
import com.atech.ebayadmin.merchandise.model.ModifyHistory;
import com.atech.ebayadmin.merchandise.model.Record;

public interface IMerchandiseDAO {
    
    // Add for create record
    public Integer saveRecord(Record po) throws Exception;
    // Add for list record
    //Revised by KK for Search Panel Enhancement on Aug30
    //public List<Record> listRecord(RecordVO vo, Pager pager) throws Exception;
    public List<Record> listRecord(Map vo, Pager pager) throws Exception;
    // Add for modify record
    public Record getRecord(Integer id) throws Exception;
    public void updateRecord(Record po) throws Exception;
    // Add for delete select record
    public void deleteSlctRe(Record po) throws Exception;
    // Add for retrieve modify history
    public List<ModifyHistory> rtrvModifyHisty(Integer key) throws Exception;
    // Add for save modify history 
    public Integer saveModHisty(ModifyHistory po) throws Exception;
    // Add for del modify history
    public int delSlctReModHisty(Integer key) throws Exception;
    
}
